////////////////////////////////////////////////////////////////////////////////
//
//  MICROSOFT CORPORATION
//  Copyright (c) Microsoft Corporation.
//  All Rights Reserved.
//
//  NOTICE: Microsoft Confidential. Intended for Internal Use Only.
//
////////////////////////////////////////////////////////////////////////////////

package com.msn.beet.errors
{

public class ApplicationError extends Error
{
    include "../core/Version.as";

    public static const EXTERNAL_CONFIG_ERROR:int = 1;
    public static const EXTERNAL_CONFIG_MALFORMED:int = 2;

    public static const MISSING_DEBUG_LEVEL:int = 3;
    public static const MISSING_ENTRY_POINT:int = 4;

    public static const FAILED_TO_LOAD_MAIN_APP:int = 4;
    public static const FAILED_TO_LOAD_EXTERNAL_CONFIG:int = 5;

    public static const INSUFFICIENT_PLAYER_VERSION:int = 6;
    public static const MALFORMED_CONFIGURATION_SETTING:int = 7;

    public static const MISSING_REQUIRED_FLASHVAR:int = 8;

    public static const MISSING_CALL_TO_INITIALIZE:int = 9;

    public function ApplicationError(message:String="", id:int = 0)
    {
        super(message, id);
    }
}

}
